//
//  WmcRemarkHistoryModel.swift
//  YPWatermarkCamera
//
//  Created by 赵新 on 2022/4/11.
//

import HandyJSON
import UIKit

class WmcRemarkHistoryModel: YPNetworkJsonProtocol {
    // Lifecycle

    required init() {}

    // Internal

    var id: Int = 0
    var remark: String = ""
    var perviewRemark: String = ""
    var perviewHistoryRemark: String = ""
    var userId: Int = 0
    var hash: String = ""
    var saveTime: Date = .init()
    
    func mapping(mapper: HelpingMapper) {
        mapper <<< self.perviewRemark <-- "perview_remark"
        mapper <<< self.perviewHistoryRemark <-- "perview_history_remark"
        mapper <<< self.userId <-- "user_id"
        mapper <<< self.saveTime <-- "save_time"
    }
}
